Technical Q&As
QD3D 58 - TQ3EllipsoidData
Caps Field Explanation (11-July-97)
Q
I am perplexed as to what the caps field in the TQ3EllipsoidData
structure is used for. Can you explain?
A
Here's an explanation. If you cut a pool ball in half, you get a solid hemisphere.
If you cut a basketball in half, you get a hollow hemisphere. The intention of the
caps is to specify which sort of a ball you'd like to pretend you're rendering.
You will IN THE FUTURE (NOT for 1.5.1) be able to specify min and max parameter values,
making partial ellipsoids (cones, etc.). When this feature is released, you can either
leave the caps field value as none (kQ3EndCapNone
), in which case you'll get a
hollow-looking partial sphere, or interior (kQ3EndCapMaskInterior
), in which case
you'll get a solid-looking partial sphere.
-- Scott Kuechle
Worldwide Developer Technical Support
Technical Q&As
Previous Question | Contents |
Next Question
To contact us, please use the Contact Us page.